MobileAppForWooCommerce\Controllers\SubscriptionController A

Total Complexity 73
Dependencies 8
Dependents 0
Total lines 389
Lines of code 247
Logical lines of code 136
Comment lines 31
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
create_subscription()
D
37 34 58
maybe_create_subscription()
A
39 8 64
pub_sub()
A
48 9 32
app_store_server_notification()
S
53 6 24
get_subscription_by_iap_subscription_id()
S
58 3 15
maybe_renew_subscription()
S
59 3 14
register_routes()
S
58 1 17
maybe_expire_subscription()
S
73 2 5
maybe_on_hold_subscription()
S
73 2 5
maybe_cancel_subscription()
S
73 2 5
maybe_re_subscription()
S
73 2 5
__construct()
S
79 1 3